<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>微仓列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../script/jquery-1.4.4.min.js"></script>
<script language="javascript" src="../script/Calendar.js"></script>
<script type="text/javascript">

</script>
</head>
<body>
<div class="container">
    <div class="flow">
        <div class="itemtitle">
            <h3>微仓列表</h3>
            <ul>
                <li class="current"><a href="javascript:;"><span>列表</span></a></li>
            </ul>
        </div>
    </div>
    <div class="h35"></div>
    
    <form action="" method="get">
    <input type="hidden" name="m" value="<{$smarty.get.m}>">
    <input type="hidden" name="s" value="<{$smarty.get.s}>">
    <table class="select_table">
        <tr>    
           <td>
                    <span>&nbsp;用户ID:</span>
         				<span>
         					<input name="memberId" value="<{$smarty.get.memberId}>" />
         				</span>
         				<span>&nbsp;用户名称:</span>
         				<span>
         					<input name="username" value="<{$smarty.get.username}>" />
         				</span>
                 		<input style="margin-left:30px;" type="submit" value="搜索" />
           </td>
        </tr>
    </table>
    </form>
	    
    <table class="table product">
       <tbody>
       <tr class="header">
            <th width="80">用户名称</th>
            <th width="100">微仓商品总数</th>
            <th width="100">操作</th>
        </tr>
        <{foreach item=list key=key from=$de.list}>
        <tr>
            <td><{if $list.username}><{$list.username}><{else}><{$list.name}>(昵称)<{/if}></td>
            <td><{if $list.totalProNum>0}><a href="?m=<{$smarty.get.m}>&s=micro_stock_products.php&memberId=<{$list.member_id}>"><{$list.totalProNum}></a><{else}>0<{/if}></td>
            <td><a href="?m=<{$smarty.get.m}>&s=micro_stock_records.php&memberId=<{$list.member_id}>">查看</a></td>
        </tr>
        <{foreachelse}>
        <tr>
            <td class="norecord" colspan="99"><i></i><span>暂无符合条件的数据记录</span></td>
        </tr>
        <{/foreach}>
		</tbody>
        <tfoot>
            <tr>
                <td colspan="99">
                	<div class="fl">每页最多显示： <{$de.perPageRows}>条</div>
                    <div class="page"><{$de.page}></div>
                    <div class="fr">共有<{$de.count}>条记录</div>
                </td>
            </tr>
        </tfoot>
    </table>
</div>
</body>
</html>